Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database validation #35

Merged
merged 36 commits into from
Sep 17, 2024
Merged

Database validation #35

merged 36 commits into from
Sep 17, 2024

Conversation

sakari-malkki
Copy link
Collaborator

@sakari-malkki sakari-malkki commented Jul 19, 2024

Database validation feature.
DatabaseValidator class contains blocking and async methods for validating a database based on a given directory path.
Validation functions are found in DatabaseValidatorFunctions.cs.
IFileSystem interface and its implementations DefaultFileSystem and MockFileSystem were created in order to be able to test DatabaseValidator functionality by mocking the IO operations.
Readme updated to include the new feature.
Benchmark added for both validation methods.
Benchmarking the StatFin database with both asynchornous and blocking methods takes about 1.5 minutes.

@sakari-malkki sakari-malkki marked this pull request as ready for review July 22, 2024 08:55
Copy link

@sakari-malkki sakari-malkki force-pushed the feature/database-validation branch from aee96d6 to b9b8327 Compare September 12, 2024 06:34
docs/README.md Outdated Show resolved Hide resolved
@jsaarimaa jsaarimaa merged commit cb6e193 into dev Sep 17, 2024
5 checks passed
@jsaarimaa jsaarimaa deleted the feature/database-validation branch September 17, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants